package com.ctshk.rpc.order.airexpress.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author 胡广
 * @since 2021/2/25
 */
@Data
@ApiModel(value = "AirportExpressOrderQueryDTO对象", description = "机场快线订单")
public class AirportExpressOrderQueryDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "销售单号")
    private String orderNumber;

    @ApiModelProperty(value = "机场快线产品id")
    private Long airportExpressId;

    @ApiModelProperty(value = "票种名称")
    private String ticketTypeName;

    @ApiModelProperty(value = "订单创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "有效时间")
    private LocalDate effectiveTime;

    @ApiModelProperty(value = "购买数量")
    private Integer number;

    @ApiModelProperty(value = "成人票数")
    private Integer adultTicketNumber;

    @ApiModelProperty(value = "小童票数")
    private Integer childrenTicketNumber;

    @ApiModelProperty(value = "成人票价")
    private BigDecimal adultPrice;

    @ApiModelProperty(value = "小童票价")
    private BigDecimal childrenPrice;

    @ApiModelProperty(value = "是否代理")
    private Integer isAgent;

    @ApiModelProperty(value = "代理公司id")
    private Long agencyId;

    @ApiModelProperty(value = "代理公司")
    private String agencyCompany;

    @ApiModelProperty(value = "代理人名称")
    private String agentUserName;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "付款状态")
    private Integer paymentStatus;

    @ApiModelProperty(value = "预订状态")
    private Integer scheduledStatus;

    @ApiModelProperty(value = "取消状态")
    private Integer cancelStatus;

    @ApiModelProperty(value = "产品类型")
    private Integer productType;

    @ApiModelProperty(value = "来源")
    private Integer source;

    @ApiModelProperty(value = "销售人员id")
    private Long salesmanId;

    @ApiModelProperty(value = "销售人员名称")
    private String salesmanName;

    @ApiModelProperty(value = "联系人姓")
    private String surname;

    @ApiModelProperty(value = "联系人名")
    private String name;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "称谓，枚举TouristType(1:先生,2:女士,3:小姐)")
    private Integer title;

    @ApiModelProperty(value = "联系人手机")
    private String contactMobile;

    @ApiModelProperty(value = "联系人手机区号id")
    private Long contactMobileAreaCodeId;

    @ApiModelProperty(value = "联系人手机区号")
    private String contactMobileAreaCode;

    @ApiModelProperty(value = "联系人国籍ID")
    private String contactCountryId;

    @ApiModelProperty(value = "联系人国籍")
    private String contactCountryName;

    @ApiModelProperty(value = "联系人邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "付款到期时间")
    private LocalDateTime payExpireDate;

    @ApiModelProperty(value = "会员查询类型(1:手机号查询,2:证件号码查询)")
    private Integer memberQueryType;

    @ApiModelProperty(value = "会员查询证件类型(根据CRM提供的证件类型列表)")
    private Integer memberQueryCertificatesType;

    @ApiModelProperty(value = "会员查询编码(根据memberQueryType判断)")
    private String memberQueryCode;

    @ApiModelProperty(value = "使用积分")
    private Integer usingPoints;

    @ApiModelProperty(value = "会员类型,枚举MemberType")
    private String memberType;

    @ApiModelProperty(value = "是否可以使用银联优惠(1:是,0:否)")
    private Integer enableUnionPayOffer;

    @ApiModelProperty(value = "优惠卷id")
    private Long couponId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal receivableAmount;

    @ApiModelProperty(value = "实收金额")
    private BigDecimal realAmount;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "销售方式(1：单品销售 2：打包销售)")
    private Integer salesMethods;

    @ApiModelProperty(value = "预订须知")
    private String bookingInformation;

    @ApiModelProperty(value = "旅客列表")
    private List<AirportExpressOrderTouristQueryDTO> airportExpressOrderTouristQueryDTOList;
    @ApiModelProperty(value = "收款列表")
    private List<AirportExpressOrderCollectionQueryDTO> airportExpressOrderCollectionQueryDTOList;
    @ApiModelProperty(value = "退款列表")
    private List<AirportExpressOrderRefundQueryDTO> airportExpressOrderRefundQueryDTOList;
}
